package com.bean;

import java.util.List;

public class Student {
    private int stuno;
    private String stuname;
    private int grade;
    private String dept;
    private ClazzBean clazzBean;
    private List<CourseBean> courseBeans;


    public int getStuno() {
        return stuno;
    }

    public void setStuno(int stuno) {
        this.stuno = stuno;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public ClazzBean getClazzBean() {
        return clazzBean;
    }

    public void setClazzBean(ClazzBean clazzBean) {
        this.clazzBean = clazzBean;
    }

    public List<CourseBean> getCourseBeans() {
        return courseBeans;
    }

    public void setCourseBeans(List<CourseBean> courseBeans) {
        this.courseBeans = courseBeans;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuno=" + stuno +
                ", stuname='" + stuname + '\'' +
                ", grade=" + grade +
                ", dept='" + dept + '\'' +
                ", clazzBean=" + clazzBean +
                ", courseBeans=" + courseBeans +
                '}';
    }
}
